package com.macro.mall.tiny.modules.bms.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "统计结果")
public class StatisticsResult {

    @Schema(description = "商品总数量")
    private Long productCount;

    @Schema(description = "订单总数量")
    private Long orderCount;

    @Schema(description = "顾客总数量")
    private Long userCount;

    @Schema(description = "购物车总数量")
    private Long cartCount;

    @Schema(description = "按周统计订单销售金额")
    private List<WeeklySalesData> weeklySales;

    @Schema(description = "按月统计订单销售金额")
    private List<MonthlySalesData> monthlySales;
}